package com.setup.trac.pojo.condition;

import java.math.BigDecimal;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;

import com.setup.trac.util.SQLCondition;

public class FindUtenteById implements SQLCondition {

	private BigDecimal idUtente;
	public FindUtenteById(BigDecimal idUtente) {
		this.idUtente = idUtente;
	}
	public Criterion create(Object... params) {
		
		
		return Restrictions.eq("idUtente", idUtente);
	}

}
